package cn.edu.scau.cmi.linyiqu.composite.consistent;

import java.util.HashSet;
import java.util.Set;


public abstract class ConsistentComponent {

	Set<ConsistentComponent> children = new HashSet<ConsistentComponent>();

	public abstract String show(int indentation);

	public abstract ConsistentComponent addChild(ConsistentComponent child);

	public abstract ConsistentComponent removeChild(ConsistentComponent child);

	public abstract Set<ConsistentComponent> getChildrenSet();
	
	public abstract void setChildrenSet(Set<ConsistentComponent> childrenSet);
	
	public abstract String getName();
}
